package pl.edu.pk.mech.kkbus.dto;

import java.util.Date;

public class Refueling {
 
    private long id;
    private int liters;    
    private double costs;
    private Date date;
    private long busId;

    public Refueling() {
    }

    public Refueling(long id, int liters, double costs, Date date, long busId) {
        this.id = id;
        this.liters = liters;
        this.costs = costs;
        this.date = date;
        this.busId = busId;
    }

    public Refueling(long id, int liters, double costs, Date date) {
        this.id = id;
        this.liters = liters;
        this.costs = costs;
        this.date = date;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getLiters() {
        return liters;
    }

    public void setLiters(int liters) {
        this.liters = liters;
    }

    public double getCosts() {
        return costs;
    }

    public void setCosts(double costs) {
        this.costs = costs;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public long getBusId() {
        return busId;
    }

    public void setBusId(long busId) {
        this.busId = busId;
    }
    
}
